<?php
    session_start();
    if($_SESSION['logged'] != true) {
        header('Location: Login.html');
        exit;
    }
?>
<html>
<head>
    <link href="css/main.css" rel="stylesheet" type="text/css">
    <title>iSpent</title>
</head>
<body>

<table style="width: 100%; border: 0px;" cellspacing="0" cellpadding="0" class="menu_table">
<tr>
<td style="width: 40%; text-align: left; color: #ffaaaa; font-size: 16pt; font-style: bold;">iSpent!</td>
<td style="width: 60%; text-align: right;">
<?= ucfirst($_SESSION['username']) ?> signed in.&nbsp;&nbsp;
<a href="index.php" title="Today">Today</a>
|
<a href="table.php" title="This Month">This Month</a>
|
<a href="options.php" title="Options">Options</a>
|
<a href="logout.php" title="Sign out">Sign out</a>
</td>
</tr>
</table>
